package middleware

import "github.com/gin-gonic/gin"

type Csrf struct{}

func NewCsrf() *Csrf {
	return &Csrf{}
}

func (m *Csrf) Handler(ctx *gin.Context) {
	ctx.Header("Access-Control-Allow-Origin", "*")
	//ctx.Header("Access-Control-Allow-Headers", "Content-Type,Content-Length")
}
